package com.neighbor.neighborhoodadmin.service;

import com.neighbor.neighborhoodadmin.pojo.Notifications;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neighbor.neighborhoodadmin.pojo.dto.NotificationDTO;

import java.util.Map;

/**
 * <p>
 * 系统通知表 服务类
 * </p>
 *
 * @author song
 * @since 2025-09-22 09:11:23
 */
public interface INotificationsService extends IService<Notifications> {
    Map<String, Object> getAllNotifications(int page, int size);
    Notifications getNotificationById(Integer id);
    int createNotification(NotificationDTO dto);
    int updateNotification(Integer id, NotificationDTO dto);
    int deleteNotification(Integer id);
}
